﻿#pragma once

#include <qnetworkdatagram.h>
#include <qudpsocket.h>

class UdpIOer :  public QUdpSocket
{
  Q_OBJECT
public:
  explicit UdpIOer();
  virtual ~UdpIOer();
public:
  void sendData(QNetworkDatagram datagram);
signals:
  void signal_dataReceived(QNetworkDatagram datagram);
private slots:
  void slot_readData();
};
